﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E7D RID: 3709
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueBuffSelectCallback : IMessage<RogueBuffSelectCallback>, IMessage, IEquatable<RogueBuffSelectCallback>, IDeepCloneable<RogueBuffSelectCallback>, IBufferMessage
	{
		// Token: 0x17002F0B RID: 12043
		// (get) Token: 0x0600A654 RID: 42580 RVA: 0x001BF7D3 File Offset: 0x001BD9D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueBuffSelectCallback> Parser
		{
			get
			{
				return RogueBuffSelectCallback._parser;
			}
		}

		// Token: 0x17002F0C RID: 12044
		// (get) Token: 0x0600A655 RID: 42581 RVA: 0x001BF7DA File Offset: 0x001BD9DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueBuffSelectCallbackReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002F0D RID: 12045
		// (get) Token: 0x0600A656 RID: 42582 RVA: 0x001BF7EC File Offset: 0x001BD9EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueBuffSelectCallback.Descriptor;
			}
		}

		// Token: 0x0600A657 RID: 42583 RVA: 0x001BF7F3 File Offset: 0x001BD9F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffSelectCallback()
		{
		}

		// Token: 0x0600A658 RID: 42584 RVA: 0x001BF7FB File Offset: 0x001BD9FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffSelectCallback(RogueBuffSelectCallback other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A659 RID: 42585 RVA: 0x001BF814 File Offset: 0x001BDA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffSelectCallback Clone()
		{
			return new RogueBuffSelectCallback(this);
		}

		// Token: 0x0600A65A RID: 42586 RVA: 0x001BF81C File Offset: 0x001BDA1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueBuffSelectCallback);
		}

		// Token: 0x0600A65B RID: 42587 RVA: 0x001BF82A File Offset: 0x001BDA2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueBuffSelectCallback other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600A65C RID: 42588 RVA: 0x001BF848 File Offset: 0x001BDA48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A65D RID: 42589 RVA: 0x001BF86E File Offset: 0x001BDA6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A65E RID: 42590 RVA: 0x001BF876 File Offset: 0x001BDA76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A65F RID: 42591 RVA: 0x001BF87F File Offset: 0x001BDA7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A660 RID: 42592 RVA: 0x001BF898 File Offset: 0x001BDA98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A661 RID: 42593 RVA: 0x001BF8BE File Offset: 0x001BDABE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueBuffSelectCallback other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A662 RID: 42594 RVA: 0x001BF8DB File Offset: 0x001BDADB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A663 RID: 42595 RVA: 0x001BF8E4 File Offset: 0x001BDAE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004388 RID: 17288
		private static readonly MessageParser<RogueBuffSelectCallback> _parser = new MessageParser<RogueBuffSelectCallback>(() => new RogueBuffSelectCallback());

		// Token: 0x04004389 RID: 17289
		private UnknownFieldSet _unknownFields;
	}
}
